#include "Animation.h"

/************************************************************************/
/*                          Frame Methods                               */
/************************************************************************/

Frame::Frame(void) : time(0)
{
	skeleton = NULL;
}

Frame::~Frame(void)
{
	if(skeleton)
		delete skeleton;
}

/************************************************************************/
/*                          Animation Methods                           */
/************************************************************************/

Animation::Animation(void)
{
}

Animation::~Animation(void)
{
	for(size_t i = 0; i < frames.size(); i++)
	{
		Frame* delFrame = frames[i];
		delete delFrame;
		///May Cause a BUG()
	}
}